﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _1._12._2015_College.Data.Models
{
    public class College
    {
        [Key]
        public int CollegeId { get; set; }
        [Required]
        public string Name { get; set; }
        [Required]
        public string State { get; set; }
        [Required]
        public string City { get; set; }
        public decimal AvgRating { get; set; }
        public decimal TotalRatings { get; set; }
        public int NumberOfRatings { get; set; }
    }
}
